package com.qzxy.premiumhotelsystem.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @TableName room_types
 */
@TableName(value ="room_types")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RoomTypes implements Serializable {

    @TableId
    @NotNull(message = "roomTypeId不能为空")
    private Integer roomTypeId;

    private String roomType;

    private BigDecimal price;

    private String description;

    private String roomUrl;

    private  Integer isAdvice;

    private  String typeExplain;

    private static final long serialVersionUID = 1L;
}